package com.py.korona.db.geo;


public class Screenshot {
    private GeoArea geoArea;
    private String  fileName;

    public Screenshot() {
        geoArea = new GeoArea();
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public boolean addGeoPoint(GeoPoint geoPoint) {
        return geoArea.add(geoPoint);
    }

    public void removeCornerAtIndex(int index) throws UnsupportedOperationException, IndexOutOfBoundsException {
        geoArea.remove(index);
    }
}
